Skip to content

feat: implement model list and agent list commands#63

Merged
placerda merged 1 commit into
feature/run-view-commandfrom
feature/discovery-commands
Apr 13, 2026
Merged

feat: implement model list and agent list commands#63
placerda merged 1 commit into
feature/run-view-commandfrom
feature/discovery-commands

Conversation

@Dongbumlee
Copy link
Copy Markdown
Collaborator

Summary

Implements 2 Azure discovery commands:

  • agentops model list — list model deployments in the Foundry project
  • agentops agent list — list agents in the Foundry project

Both use lazy Azure SDK imports and authenticate via DefaultAzureCredential.

Usage

agentops model list [--endpoint ]
agentops agent list [--endpoint ]

Live test output

Model deployments (3):
gpt-4.1 model=gpt-4.1 version=2025-04-14
text-embedding-3-small model=text-embedding-3-small version=1
gpt-5.1 model=gpt-5.1 version=2025-11-13

Agents (2):
agent-eval id=agent-eval
testagent id=testagent

Testing

  • 7 unit tests with mocked Azure SDK (no credentials needed)
  • 140 total tests pass

Depends On

PR #62 -> PR #61 -> PR #60 -> PR #59 -> develop

- Add services/discovery.py — list_models, list_agents
- Lazy Azure imports, DefaultAzureCredential, --endpoint flag
- 7 unit tests with mocked Azure SDK
@placerda placerda merged commit cb43d69 into feature/run-view-command Apr 13, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants